/*
 * Ext JS Library 2.0 Alpha 1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

Ext.onReady(function(){
	Ext.BLANK_IMAGE_URL = '/js/extjs/resources/images/default/s.gif';
	Ext.form.Field.prototype.msgTarget = 'under';
	Ext.MessageBox.buttonText.yes = "Si";
	Ext.MessageBox.buttonText.no = "No";
	
	var viewport = new Ext.Viewport({
			layout: 'border',
			items: [
				new Ext.BoxComponent({ 
					region:'north',
					el: 'header',
					height:50
					
				}),
				{
				region:'east',
				id: 'work-panel',
				collapsible: true,
				collapseMode: 'mini',
				split:true,
				width: 300,
				minSize: 250,
				maxSize: 400,
				//layout:'fit',
				margins:'0 5 0 0',
				items: formPanel
				},				 
				grid
			]	
	});
	
});
